package com.church.services;

import java.util.List;

import com.church.dao.GroupDao;
import com.church.db.Group;

public class GroupServicesImpl implements GroupServices {
	private GroupDao groupDao;
	
	public GroupDao getGroupDao() {
		return groupDao;
	}

	public void setGroupDao(GroupDao groupDao) {
		this.groupDao = groupDao;
	}

	@Override
	public List<Group> getGroup() {
		return groupDao.getGroup();
	}

	@Override
	public Group getGroupById(long id) {
		return groupDao.getGroupById(id);
	}

}
